home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Utilities / Apple Event Test elwin / cards.xml < prev    next >
Text File  |  1994-04-30  |  7KB  |  213 lines

  1. card_2916.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2916</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3658.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2779</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3304.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>11</left>
  25.             <top>4</top>
  26.             <right>211</right>
  27.             <bottom>54</bottom>
  28.         </rect>
  29.         <style>rectangle</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name>temp</name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>0</left>
  57.             <top>218</top>
  58.             <right>100</right>
  59.             <bottom>240</bottom>
  60.         </rect>
  61.         <style>roundrect</style>
  62.         <showName> <true /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <true /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name>get address</name>
  74.         <script>on mouseUpglobal addressput empty into cd fld tempput empty into cd fld dataput empty into cd fld "result_fld"answer program "enter the address for the program"put it into addressput it into cd field "address"end mouseUp</script>
  75.     </part>
  76.     <part>
  77.         <id>3</id>
  78.         <type>button</type>
  79.         <visible> <true /> </visible>
  80.         <reserved5> 0 </reserved5>
  81.         <reserved4> 0 </reserved4>
  82.         <reserved3> 0 </reserved3>
  83.         <reserved2> 0 </reserved2>
  84.         <reserved1> 0 </reserved1>
  85.         <enabled> <true /> </enabled>
  86.         <rect>
  87.             <left>124</left>
  88.             <top>218</top>
  89.             <right>224</right>
  90.             <bottom>240</bottom>
  91.         </rect>
  92.         <style>roundrect</style>
  93.         <showName> <true /> </showName>
  94.         <highlight> <false /> </highlight>
  95.         <autoHighlight> <true /> </autoHighlight>
  96.         <sharedHighlight> <true /> </sharedHighlight>
  97.         <family>0</family>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>0</icon>
  100.         <textAlign>center</textAlign>
  101.         <font>Chicago</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>plain</textStyle>
  104.         <name>Send event</name>
  105.         <script>on mouseUpglobal addressput line 1 of cd fld "address" into addressput empty into cd fld tempput empty into cd fld "result_fld"put cd fld data into my_datasend my_data to program addressput the result into cd fld "result_fld"if cd fld "result_fld" is emptythenput "I Sent an Apple Event: no error " into cd field "result_fld"end ifend mouseUp</script>
  106.     </part>
  107.     <part>
  108.         <id>5</id>
  109.         <type>field</type>
  110.         <visible> <true /> </visible>
  111.         <dontWrap> <false /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <false /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <false /> </lockText>
  117.         <rect>
  118.             <left>11</left>
  119.             <top>106</top>
  120.             <right>211</right>
  121.             <bottom>131</bottom>
  122.         </rect>
  123.         <style>rectangle</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <false /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>left</textAlign>
  132.         <font>Geneva</font>
  133.         <textSize>9</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>12</textHeight>
  136.         <name>address</name>
  137.         <script></script>
  138.     </part>
  139.     <part>
  140.         <id>6</id>
  141.         <type>field</type>
  142.         <visible> <true /> </visible>
  143.         <dontWrap> <false /> </dontWrap>
  144.         <dontSearch> <false /> </dontSearch>
  145.         <sharedText> <false /> </sharedText>
  146.         <fixedLineHeight> <false /> </fixedLineHeight>
  147.         <autoTab> <false /> </autoTab>
  148.         <lockText> <false /> </lockText>
  149.         <rect>
  150.             <left>11</left>
  151.             <top>145</top>
  152.             <right>211</right>
  153.             <bottom>194</bottom>
  154.         </rect>
  155.         <style>scrolling</style>
  156.         <autoSelect> <false /> </autoSelect>
  157.         <showLines> <false /> </showLines>
  158.         <wideMargins> <false /> </wideMargins>
  159.         <multipleLines> <false /> </multipleLines>
  160.         <reservedFamily> 0 </reservedFamily>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>left</textAlign>
  164.         <font>Geneva</font>
  165.         <textSize>9</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <textHeight>12</textHeight>
  168.         <name>data</name>
  169.         <script></script>
  170.     </part>
  171.     <part>
  172.         <id>7</id>
  173.         <type>field</type>
  174.         <visible> <true /> </visible>
  175.         <dontWrap> <false /> </dontWrap>
  176.         <dontSearch> <false /> </dontSearch>
  177.         <sharedText> <false /> </sharedText>
  178.         <fixedLineHeight> <false /> </fixedLineHeight>
  179.         <autoTab> <false /> </autoTab>
  180.         <lockText> <false /> </lockText>
  181.         <rect>
  182.             <left>11</left>
  183.             <top>68</top>
  184.             <right>211</right>
  185.             <bottom>93</bottom>
  186.         </rect>
  187.         <style>rectangle</style>
  188.         <autoSelect> <false /> </autoSelect>
  189.         <showLines> <false /> </showLines>
  190.         <wideMargins> <false /> </wideMargins>
  191.         <multipleLines> <false /> </multipleLines>
  192.         <reservedFamily> 0 </reservedFamily>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>left</textAlign>
  196.         <font>Geneva</font>
  197.         <textSize>9</textSize>
  198.         <textStyle>plain</textStyle>
  199.         <textHeight>12</textHeight>
  200.         <name>result_fld</name>
  201.         <script></script>
  202.     </part>
  203.     <content>
  204.         <layer>card</layer>
  205.         <id>7</id>
  206.         <text>No such program.</text>
  207.     </content>
  208.     <name></name>
  209.     <script>on appleEvent class,id,senderput empty into cd fld tempput empty into cd fld dataput empty into cd fld "result_fld"put "I got an Apple Event From:" & return into cd fld tempput sender & return after cd fld tempput "class: " & class & return after cd fld tempput "id: " & id & return after cd fld temprequest appleEvent dataput it into cd fld "data"end appleEvent</script>
  210. </card>
  211.  
  212.  
  213.